from matplotlib.pylab import *
import numpy as np

t = np.arange(0, 10, 1)
y1 = np.e**(-t/2.)
y2 = np.e**(-t/5.)

ion()
#title("This is test title")
#xlabel("Hello", fontsize=28)
#ylabel("$\Delta$R/R", fontsize=28, weight='bold')
#grid(True)
"""
marker
	marker	+, o, <, >, ^, ., s, v, x ...etc.
ms	markersize
mew	markeredgewidth
mec	markeredgecolor
mfc	markerfillercolor

line
c	color
ls	linestyle	-, --, -., : 
lw	linewidth
"""
"""
b	blue
g	green
r	red
w	white
k	black
y	yellow
c	cyan
m	magenta
(0.18, 0.31, 0.31)	an RGB tuple
"""
#plot(t, y1, 'b-',marker='o', ms=10, mew=3, mfc='w', mec='b', lw=3, ls='--')

X = 2*rand(20, 20)
#imshow(X, vmax = 3, vmin = 0)
anorm = normalize(1, 2)
imshow(X, anorm)
xlabel("Time delay (ps)")
ylabel("$\Delta$ R/R")
jet()
cbar = colorbar(orientation='horizontal') # vertical
cbar.set_label("Signals")
#gray()
show()
raw_input()
